﻿$(function(){
	
	//城市选择插件
	var cityPicker = new IIInsomniaCityPicker({
        data: cityData,
        target: '.cityChoiceFrom',
        valType: 'k-v',
        hideCityInput: '#city',
        hideProvinceInput: '#province',
        callback: function(city_id){
            // alert($('#city').val());
        }
    });
    cityPicker.init();
	
	
	var cityPicker = new IIInsomniaCityPicker({
        data: cityData,
        target: '.cityChoiceTo',
        valType: 'k-v',
        hideCityInput: '#city',
        hideProvinceInput: '#province',
        callback: function(city_id){
            // alert($('#city').val());
        }
    });
    cityPicker.init();
});